FROM  harbor.zhcxkj.com/public/zhcx-api-auto-base AS builder
RUN pip config --global set global.index-url https://mirrors.aliyun.com/pypi/simple/ && pip config --global set install.trusted-host mirrors.aliyun.com
WORKDIR /app
COPY . .
RUN pip install -r requirements.txt
#修改排版1
RUN sed -i "s/test_result.parameters.extend(/test_result.parameters.extend([])/"  /opt/bitnami/python/lib/python3.8/site-packages/allure_pytest/listener.py 
RUN sed -i '96d' /opt/bitnami/python/lib/python3.8/site-packages/allure_pytest/listener.py
CMD ["python", "multiprocessing_run.py"]
